package com.jake.springboot.mybatis.service;

import com.jake.springboot.mybatis.domain.Person;
import com.jake.springboot.mybatis.domain.Person2;
import com.jake.springboot.mybatis.domain.PersonJson;

import java.util.List;

public interface PersonService {

    int insert(Person person);

    List<Person> getPersons();

    List<Person2> getPerson2s();

    int update(int personId, PersonJson personJson);

    PersonJson getPersonJsonById(int personId);
}
